package com.vincent.eurekaclient;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/users")
@RestController
@Api(value = "eureka-client", description = "用户接口")
public class UserController {

    @ApiParam(value = "获取用户名")
    @RequestMapping(value = "/get_user_name", method = RequestMethod.GET)
    String getUserName() {
        return "vincent wei";
    }
}
